package com.ruoyi.epidemic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 疫情防控信息收集对象 yq_info_collect
 *
 * @author ruoyi
 * @date 2022-04-04
 */
public class YqInfoCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 填写类型（00企业微信 01扫码 02文件导入） */
    @Excel(name = "填写类型", readConverterExp = "0=0企业微信,0=1扫码,0=2文件导入")
    private String collectType;

    /** 填写人员类型（00内部用户 01外部用户） */
    @Excel(name = "填写人员类型", readConverterExp = "0=0内部用户,0=1外部用户")
    private String userType;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 安康码状态（0绿码 1黄码 2红码） */
    @Excel(name = "安康码状态", readConverterExp = "0=绿码,1=黄码,2=红码")
    private String akmStatus;

    /** 安康码图片路径 */
    @Excel(name = "安康码图片路径")
    private String akmPath;

    /** 核酸检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "核酸检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hsTime;

    /** 两日内核酸检测结果（0阴性 1阳性） */
    @Excel(name = "两日内核酸检测结果", readConverterExp = "0=阴性,1=阳性")
    private String hsResult;

    /** 核酸检测文件路径 */
    @Excel(name = "核酸检测文件路径")
    private String hsPath;

    /** 行程码14天是否未离肥（0否 1是） */
    @Excel(name = "行程码14天是否未离肥", readConverterExp = "Y=未离肥,N=24小时之内有离肥记录,S=14天内有离肥记录，24小时内未离肥")
    private String xcmIsLeave;

    /** 行程码图片路径 */
    @Excel(name = "行程码图片路径")
    private String xcmPath;

    /** 体温 */
    @Excel(name = "体温")
    private String tw;

    /** 体温是否正常（0否 1是） */
    @Excel(name = "体温是否正常", readConverterExp = "0=否,1=是")
    private String twIsNormal;

    /** 体温异常原因 */
    @Excel(name = "体温异常原因")
    private String twYcReason;

    /** 审核状态(0未审核, 1已审批) */
    @Excel(name = "审核状态(0未审核, 1已审批)")
    private String aduitStatus;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date aduitTime;

    /** 审核人 */
    @Excel(name = "审核人")
    private String aduitBy;

    /** 所属核查日期 */
    @Excel(name = "所属核查日期")
    private String belongDate;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setCollectType(String collectType)
    {
        this.collectType = collectType;
    }

    public String getCollectType()
    {
        return collectType;
    }
    public void setUserType(String userType)
    {
        this.userType = userType;
    }

    public String getUserType()
    {
        return userType;
    }
    public void setPhonenumber(String phonenumber)
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber()
    {
        return phonenumber;
    }
    public void setAkmStatus(String akmStatus)
    {
        this.akmStatus = akmStatus;
    }

    public String getAkmStatus()
    {
        return akmStatus;
    }
    public void setAkmPath(String akmPath)
    {
        this.akmPath = akmPath;
    }

    public String getAkmPath()
    {
        return akmPath;
    }
    public void setHsTime(Date hsTime)
    {
        this.hsTime = hsTime;
    }

    public Date getHsTime()
    {
        return hsTime;
    }
    public void setHsResult(String hsResult)
    {
        this.hsResult = hsResult;
    }

    public String getHsResult()
    {
        return hsResult;
    }
    public void setHsPath(String hsPath)
    {
        this.hsPath = hsPath;
    }

    public String getHsPath()
    {
        return hsPath;
    }
    public void setXcmIsLeave(String xcmIsLeave)
    {
        this.xcmIsLeave = xcmIsLeave;
    }

    public String getXcmIsLeave()
    {
        return xcmIsLeave;
    }
    public void setXcmPath(String xcmPath)
    {
        this.xcmPath = xcmPath;
    }

    public String getXcmPath()
    {
        return xcmPath;
    }
    public void setTw(String tw)
    {
        this.tw = tw;
    }

    public String getTw()
    {
        return tw;
    }
    public void setTwIsNormal(String twIsNormal)
    {
        this.twIsNormal = twIsNormal;
    }

    public String getTwIsNormal()
    {
        return twIsNormal;
    }
    public void setTwYcReason(String twYcReason)
    {
        this.twYcReason = twYcReason;
    }

    public String getTwYcReason()
    {
        return twYcReason;
    }
    public void setAduitStatus(String aduitStatus)
    {
        this.aduitStatus = aduitStatus;
    }

    public String getAduitStatus()
    {
        return aduitStatus;
    }
    public void setAduitTime(Date aduitTime)
    {
        this.aduitTime = aduitTime;
    }

    public Date getAduitTime()
    {
        return aduitTime;
    }
    public void setAduitBy(String aduitBy)
    {
        this.aduitBy = aduitBy;
    }

    public String getAduitBy()
    {
        return aduitBy;
    }
    public void setBelongDate(String belongDate)
    {
        this.belongDate = belongDate;
    }

    public String getBelongDate()
    {
        return belongDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("collectType", getCollectType())
            .append("userType", getUserType())
            .append("phonenumber", getPhonenumber())
            .append("akmStatus", getAkmStatus())
            .append("akmPath", getAkmPath())
            .append("hsTime", getHsTime())
            .append("hsResult", getHsResult())
            .append("hsPath", getHsPath())
            .append("xcmIsLeave", getXcmIsLeave())
            .append("xcmPath", getXcmPath())
            .append("tw", getTw())
            .append("twIsNormal", getTwIsNormal())
            .append("twYcReason", getTwYcReason())
            .append("aduitStatus", getAduitStatus())
            .append("aduitTime", getAduitTime())
            .append("aduitBy", getAduitBy())
            .append("createTime", getCreateTime())
            .append("belongDate", getBelongDate())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
